package com.amado.easyui2.service;

import java.util.List;

import com.amado.easyui2.domain.CoachCarEntity;
import com.amado.easyui2.domain.User;
import com.amado.easyui2.vo.Page;

public interface CoachService {
//	void add(CoachEntity lcn );
//
//	void delete(Long id);
//
//	void update(CoachEntity id);
//
//	List<CoachEntity> listAll();
//
//	public List<CoachEntity> login(CoachEntity user);
//	
//	List<CoachEntity> listAll(String tm , String lcn);
//
//	public int listAllCount(String tm , String lcn);
//
//	List<CoachEntity> listAll(String tm , String lcn, Page page);
	void add(CoachCarEntity lcn);

	CoachCarEntity getById(Long id);
	//删除
	void delete(List<Long> id);
	//修改
	void update(CoachCarEntity lcn);
	//模糊查询用户信息，查询用户时根据部门
	List<CoachCarEntity> list(String tm, String lcn);

	List<CoachCarEntity> getCoach(CoachCarEntity lcn);

	//模糊查询用户信息，查询用户时根据部门 加oracle分页
	Page<CoachCarEntity> listAll(String tm, String lcn,Page page);
}
